package com.ljq.cksp.dao;

import com.ljq.cksp.pojo.Law;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.solr.repository.SolrCrudRepository;

import java.util.List;

/**
 * @Author:ljq
 * @Date:2020/2/16
 */
public interface LawDao extends SolrCrudRepository<Law, String> {
    Page<Law> findByTitle(String keyword, PageRequest pageRequest);
}
